//
//  AddAlbumViewController.h
//  iOS-CtrlV
//
//  Created by 龚 杰 on 12-12-28.
//  Copyright (c) 2012年 Wang Li. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NicknameSetViewController.h"
#import "ChooseAlbumViewController.h"
#import "MyHttpProcessor.h"

typedef enum
{
    SEND_BLOG = 0,//新发送
    FORWARD_BLOG//转发
}HairBlog;

@class AlbumModel;
@interface AddAlbumViewController : UIViewController<UITableViewDataSource,UITableViewDelegate,MBProgressHUDDelegate,NicknameSetDelegate,ChooseAlbumDelegate,MyHttpProcessorDelegate>
{
    UIButton* m_BackBttBarItem;
    UIButton* m_settngBttBarItem;
    UITableView* m_TableView;
    UILabel* m_title;
    UILabel* m_Albumbel;
    MBProgressHUD* m_MBHUD;
    
    NSMutableArray* m_AlbumListdata;
    
    NSInteger blogtype;
    
    
    UIImage* m_headimage;
    NSString* m_user_id;
    NSString* m_titletext;
    NSString* m_Albumname;
    NSString* m_Albumid;
    NSString* m_blogid;
    NSInteger m_Intype;
    NSInteger m_Insina;
    NSInteger m_Inqq;
    
}
@property(nonatomic,retain)UIImage* headimage;//帖子图片
@property(nonatomic,retain)NSString* user_id;//发帖子用户ID
@property(nonatomic,retain)NSString* titletext;//帖子描述
@property(nonatomic,retain)NSString* Albumname;//专题名字
@property(nonatomic,retain)NSString* Albumid;//专题ID
@property(nonatomic,retain)NSString* blogid;//专题ID

- (id)initType:(NSInteger)type;
- (BOOL)writeImage:(UIImage*)image toFileAtPath:(NSString*)aPath;
- (BOOL)deleteImage:(NSString*)aPath;
@end
